package com.ethink.order.api.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * TOC售后导入日志 新增请求对象
 *
 * @author default
 * @date 2023-01-10
 */
@Data
public class TocSaleAfterImportLogAddRequest {

    @Schema(description ="订单号",hidden = true)
    private String orderNo;

    @Schema(description ="枚举 订单状态:1-草稿(s1)|2-已提交(s2)")
    private Integer orderStatus;

    @NotNull
    @Schema(description ="枚举 类型:1-仓库(t1)|2-办公室(t2)")
    private Integer orderType;

    @NotNull
    @Schema(description ="订单来源")
    private String saleChannel;

    @NotNull
    @Schema(description ="订单来源下级")
    private String saleSubChannel;

    @Schema(description ="制单人账号",hidden = true)
    private String createUserCode;

    @Schema(description ="制单人名称",hidden = true)
    private String createUserName;

    @Schema(description ="备注")
    private String remark;

    @Schema(description = "详情")
    private List<TocSaleAfterImportLogAddItemRequest> items;

}
